import request from '@/utils/request'

// 查询企业审核列表
export function listApprove(query) {
  return request({
    url: '/signup/approve/list',
    method: 'get',
    params: query
  })
}

// 查询企业审核详细
export function getApprove(signupId) {
  return request({
    url: '/signup/approve/' + signupId,
    method: 'get'
  })
}

// 新增企业审核
export function addApprove(data) {
  return request({
    url: '/signup/approve',
    method: 'post',
    data: data
  })
}

// 修改企业审核
export function updateApprove(data) {
  return request({
    url: '/signup/approve',
    method: 'put',
    data: data
  })
}

// 删除企业审核
export function delApprove(signupId) {
  return request({
    url: '/signup/approve/' + signupId,
    method: 'delete'
  })
}
